import request from '@/utils/request'

export function getDetail(params) {
    return request({
        url: '/productData/data/detail',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => data)
}
export function update(params) {
    return request({
        url: '/productData/data/save',
        method: 'POST',
        data: params
    }).then(res => res)
}